/*
 * @Description: 关于我们
 * @Author: iamsmiling
 * @Date: 2021-05-28 11:20:42
 * @LastEditTime: 2021-05-28 12:13:10
 */
import 'package:credit_business_circle/R/R.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';

class AboutUsPage extends StatelessWidget {
  const AboutUsPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("关于我们"),
      ),
      body: SingleChildScrollView(
        child: Container(
          alignment: Alignment.center,
          margin: EdgeInsets.only(top: R.dimen.dp45),
          padding: EdgeInsets.symmetric(horizontal: R.dimen.dp28),
          child: Column(
            crossAxisAlignment: CrossAxisAlignment.center,
            children: [
              Image.asset(R.image.aboutLogo),
              Container(
                margin:
                    EdgeInsets.only(top: R.dimen.dp20, bottom: R.dimen.dp18),
                child: Text(
                  "版本号:1.0.5",
                  style: TextStyle(
                      fontSize: R.dimen.sp15, color: R.color.ff222222),
                ),
              ),
              Container(
                  margin: EdgeInsets.only(bottom: R.dimen.dp80),
                  child: Image.asset(R.image.slogan)),
              Divider(),
              Container(
                padding: EdgeInsets.symmetric(vertical: R.dimen.dp16),
                child: Row(
                  mainAxisAlignment: MainAxisAlignment.spaceBetween,
                  children: [
                    Text(
                      "检查更新",
                      style: TextStyle(
                          fontSize: R.dimen.sp15, color: R.color.ff111111),
                    ),
                    Image.asset(R.image.next)
                  ],
                ),
              ),
              Divider(),
              Container(
                padding: EdgeInsets.symmetric(vertical: R.dimen.dp16),
                child: Row(
                  mainAxisAlignment: MainAxisAlignment.spaceBetween,
                  children: [
                    Text(
                      "商务合作",
                      style: TextStyle(
                          fontSize: R.dimen.sp15, color: R.color.ff111111),
                    ),
                    Image.asset(R.image.next)
                  ],
                ),
              ),
              Divider(),
            ],
          ),
        ),
      ),
      bottomNavigationBar: Container(
        alignment: Alignment.center,
        margin: EdgeInsets.only(bottom: Get.mediaQuery.padding.bottom),
        height: Get.mediaQuery.padding.bottom + kBottomNavigationBarHeight,
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            Text(
              "《服务协议》 | 《隐私政策》",
              style: TextStyle(color: R.color.ff0c9efb, fontSize: R.dimen.sp14),
            ),
            Container(
                margin: EdgeInsets.only(
                  top: R.dimen.dp28,
                ),
                child: Text(
                  "浙ICP备1801255号",
                  style: TextStyle(
                      fontSize: R.dimen.sp12, color: R.color.ff888888),
                )),
            Text(
              "Copyright c 2020 XXX.ALL Rights Reserved",
              style: TextStyle(fontSize: R.dimen.sp12, color: R.color.ff888888),
            )
          ],
        ),
      ),
    );
  }
}
